/* 常量文件 */
// 物业工单报修类型
export const WorkOrderStatusData = [
  {
    value: 100,
    label: '未派单'
  },
  {
    value: 200,
    label: '处理中'
  },
  {
    value: 300,
    label: '已完成'
  },
  {
    value: 400,
    label: '已消单'
  }
]

// 物业工单紧急程度
export const urgencyList = [
  {
    value: 1,
    label: '一般'
  },
  {
    value: 2,
    label: '重要'
  },
  {
    value: 3,
    label: '紧急'
  }
]

export const week = [
  {
    value: 1,
    label: '星期一'
  },
  {
    value: 2,
    label: '星期二'
  },
  {
    value: 3,
    label: '星期三'
  },
  {
    value: 4,
    label: '星期四'
  },
  {
    value: 5,
    label: '星期五'
  },
  {
    value: 6,
    label: '星期六'
  },
  {
    value: 7,
    label: '星期日'
  }
]

// 设备基础信息表头
export const deviceListHead = [
  // {
  //   value: 'eqptId',
  //   label: '设备ID'
  // },
  {
    value: 'eqptName',
    label: '设备名称'
  },
  {
    value: 'eqptType',
    label: '系统类型'
  },
  {
    value: 'buildName',
    label: '楼栋'
  },
  {
    value: 'floorName',
    label: '楼层'
  },
  {
    value: 'mapX',
    label: '横坐标比'
  },
  {
    value: 'mapY',
    label: '纵坐标比'
  },
  {
    value: 'supplierName',
    label: '厂商'
  }
]

// 设备状态信息表头
export const deviceStatusHead = [
  {
    value: 'deviceId',
    label: '上次'
  },
  {
    value: 'deviceName',
    label: '设备名称'
  },
  {
    value: 'systemClass',
    label: '系统类型'
  },
  {
    value: 'subSystem',
    label: '子系统'
  }
]
// 设备维修维保表头
export const deviceMaintainHead = [
  {
    value: 'companyId',
    label: '上次维保时间'
  },
  {
    value: 'createdUser',
    label: '维保时间间隔'
  },
  {
    value: 'deleteFlag',
    label: '下次维保时间'
  },
  {
    value: 'eqptId',
    label: '负责人'
  },
  {
    value: 'eqptName',
    label: '维修维保记录'
  }
]

export const deviceIcon = [
  {
    value: 'mj',
    url: require('@/assets/images/deviceIcon/mj_dot.png')
  },
  {
    value: 'constant_pressure_water_supply',
    url: require('@/assets/images/deviceIcon/constant_pressure_water_supply_dot.png')
  },
  {
    value: 'ventilator',
    url: require('@/assets/images/deviceIcon/ventilator_dot.png')
  },
  {
    value: 1,
    url: require('@/assets/images/deviceIcon/other_dot.png')
  },
  {
    value: 2,
    url: require('@/assets/images/deviceIcon/constant_pressure_water_supply_dot.png')
  },
  {
    value: 3,
    url: require('@/assets/images/deviceIcon/ac_pump_3.png')
  },
  {
    value: 'watertank',
    url: require('@/assets/images/deviceIcon/watertank_dot.png')
  },
  {
    value: 'power_substation',
    url: require('@/assets/images/deviceIcon/power_substation_dot.png')
  },
  {
    value: 'fire_alarm',
    url: require('@/assets/images/deviceIcon/fire_alarm_dot.png')
  },
  {
    value: 'capture',
    url: require('@/assets/images/deviceIcon/capture_dot.png')
  },
  {
    value: 'ac_pump',
    url: require('@/assets/images/deviceIcon/ac_pump_dot.png')
  }
]
